#ifndef Runnable_INCLUDED
#define Runnable_INCLUDED

class Runnable
{
public: 
    Runnable()
    {}
    
    virtual ~Runnable()
    {}
    
    // 线程调用程序会用到，免得查询
    virtual void onStart()
    {}
    
    virtual void run() = 0;
    
    // 线程调用程序会用到，免得查询
    virtual void onFinished()
    {}
};

#endif
